Sharks can't swim backwards. It's physically impossible. Their fins are not flexible like other fish. They can go backwards by stopping and falling backwards. However, the shark in this movie backs out of a vent pipe, and it's stated that it used the pipe as a hiding spot. There's no way it could get in and out.